package com.frejoys.common.vo.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class UserWalletListLogVo {

    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "Long", name = "userId", description = "用户id", required = true, defaultValue = "1")
    private Long userId;

    @Schema(type = "String", name = "nickname", description = "用户昵称", required = true, defaultValue = "1")
    private String nickname;

    @Schema(type = "String", name = "phone", description = "用户电话", required = true, defaultValue = "1")
    private String phone;

    @Schema(type = "String", name = "avatarUrl", description = "头像", required = true, defaultValue = "1")
    private String avatarUrl;

    @Schema(type = "String", name = "money", description = "消费金额", required = true, defaultValue = "1")
    private String money;

    @Schema(type = "Long", name = "drawSn", description = "根据类型不同：1.订单编号", required = true, defaultValue = "1")
    private Long drawSn;

    @Schema(type = "Integer", name = "type", description = "类型：1.用户下单，2.转换积分，3.兑换积分，5.订单返利，8.提现手续费，9.订单返利转出，10.订单返利转入余额，11.达人金额转入余额，12.代理金额转入余额，20.达人推广返利，21.达人推荐返利，25.达人金额转出，30.代理推广返利，31.代理推荐返利，32.用户提现代理返利，35.代理金额转出，40.管理组返利，200.用户提现", required = true, defaultValue = "1")
    private Integer type;

    @Schema(type = "BigDecimal", name = "cashMoney", description = "提现时，填入相同提现金额，用于扣除", required = true, defaultValue = "1")
    private BigDecimal cashMoney;

    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "1")
    private Integer createTime;

    @Schema(type = "Integer", name = "updateTime", description = "更新时间（默认填写创建时间，当为用户提现时，此时间需要根据平台设置，对应身份获取提现时间，加入此时间）", required = true, defaultValue = "1")
    private Integer updateTime;

    @Schema(type = "Integer", name = "status", description = "状态(用户提现时：0为申请，1为提现成功)：0等待，1.有效", required = true, defaultValue = "1")
    private Integer status;
}
